From: Ruixin Date: Fri, 21 Jul 2017 15:20:50 +0000 (+0000) Subject: lib: Add #define for endoflife metadata key X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~34^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ef6f6bc688f3381a66e6bcb1fa440d5201537fd1;p=ostree.git lib: Add #define for endoflife metadata key It is a continuation of https://github.com/ostreedev/ostree/pull/1024 It adds documentation for endoflife metadata key. Closes: #1025 Approved by: cgwalters --- diff --git a/src/libostree/ostree-core.h b/src/libostree/ostree-core.h index 1b0f8913..1fef003a 100644 --- a/src/libostree/ostree-core.h +++ b/src/libostree/ostree-core.h @@ -216,6 +216,16 @@ typedef enum { * Since: 2017.7 */ #define OSTREE_COMMIT_META_KEY_ENDOFLIFE_REBASE "ostree.endoflife-rebase" +/** + * OSTREE_COMMIT_META_KEY_ENDOFLIFE: + * + * GVariant type `s`. This metadata key is used to display vendor's message + * when an update stream for a particular branch ends. It usually provides + * update instructions for the users. + * + * Since: 2017.7 + */ +#define OSTREE_COMMIT_META_KEY_ENDOFLIFE "ostree.endoflife" _OSTREE_PUBLIC const GVariantType *ostree_metadata_variant_type (OstreeObjectType objtype);